/*预设样式*/

* {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100%;
  min-width: 1090px;
  background-color: #fff;
  font-family: "Microsoft Yahei", "微软雅黑", verdana;
  color: #333;
  font-size: 12px;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
}

.c {
  clear: both;
}

/*yx-cp-base*/

#yx-cp-base {
  height: 36px;
  background-color: #333;
  line-height: 36px;
  color: #5c5c5c;
}

.yx-cp-row {
  width: 1090px;
  margin: 0 auto;
  position: relative;
}

#yx-cp-base ul {
  float: right;
}

#yx-cp-base ul li {
  display: inline-block;
  padding-right: 7px;
}

#yx-cp-base ul li a {
  position: relative;
  color: #ccc;
  display: inline-block;
  margin-right: 9px;
}

#yx-cp-base .ove i {
  position: absolute;
  top: -12px;
  left: 42%;
  color: #fff;
  font-size: 16px;
  z-index: 98;
}

.ove {
  display: none;
  width: 100%;
  position: absolute;
  top: 36px;
  z-index: 99;
  height: 60px;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 3px 0;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
}

#yx-cp-base ul li a i {
  color: #fff;
}

#yx-cp-base ul li a:hover {
  color: #fff;
}

/*yx-cp-functab*/

#yx-cp-functab {
  height: 140px;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
}

#yx-cp-logo {
  background: url('../images/1.网易严选logo.png') no-repeat;
  width: 212px;
  height: 60px;
  position: absolute;
  top: 21px;
}

#yx-cp-search {
  position: absolute;
  top: 26px;
  left: 380px;
}

#yx-cp-search-1 {
  border: 1px solid #CC9756;
  width: 396px;
  height: 36px;
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  float: left;
  padding-left: 42px;
}

#yx-cp-search-2 {
  width: 90px;
  height: 38px;
  border: none;
  background-color: #CC9756;
  color: #fff;
  font-size: 16px;
  border-top-right-radius: 22px;
  border-bottom-right-radius: 22px;
}

#yx-cp-search i {
  font-size: 16px;
  color: #e7e7e7;
  position: absolute;
  top: 10px;
  left: 18px;
}

#yx-cp-search p {
  margin-left: 20px;
  line-height: 26px;
}

#yx-cp-search p a {
  color: #CC9756;
}

#yx-cp-cart {
  width: 134px;
  height: 38px;
  border: 1px solid #CC9756;
  border-radius: 22px;
  position: absolute;
  right: 0;
  top: 26px;
  line-height: 38px;
  text-align: center;
  color: #CC9756;
  font-size: 14px;
}

#yx-cp-cart i {
  font-size: 20px;
  color: #CC9756;
}

#yx-cp-cart span {
  display: inline-block;
  width: 19px;
  height: 19px;
  background-color: rgb(223, 0, 0);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
}

#yx-cp-user {
  height: 34px;
  position: absolute;
  top: 106px;
  line-height: 34px;
  font-size: 14px;
  font-weight: bold;
}

/* #yx-cp-user ul{} */

#yx-cp-user ul li {
  display: inline-block;
  padding: 0 24px;
}

#yx-cp-user ul li:first-child {
  padding-left: 0;
}

#yx-cp-user ul li:last-child {
  padding-right: 0;
}

#yx-cp-user ul li.active a {
  color: #cc9756;
  border-bottom: 3px solid #cc9756;
}

#yx-cp-user ul li a {
  color: black;
  padding: 5px 0;
}

#yx-cp-user ul li a:hover {
  color: #cc9756;
  border-bottom: 3px solid #cc9756;
}

/*g-bd*/

#g-bd {
  height: 420px;
}

/*本例css*/

.www51buycom {
  width: 100%;
  height: 420px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
}

/*数字按钮样式*/

.www51buycom .num {
  overflow: hidden;
  height: 25px;
  position: absolute;
  bottom: 12px;
  left: 15px;
  zoom: 1;
  z-index: 3
}

.www51buycom .num li {
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  font-weight: 400;
  font-family: "微软雅黑", Arial;
  color: #FFFFFF;
  background: #444444;
  margin-right: 10px;
  border-radius: 50%;
  cursor: pointer;
  float: left;
}

.www51buycom .num li.on {
  background: #FF7700;
}

/*当前项*/

/*上一个  下一个*/

.www51buycom .prev, .www51buycom .next {
  display: none;
  width: 40px;
  height: 100px;
  background: url(../images/btn.png) no-repeat;
  position: absolute;
  top: 150px;
}

.www51buycom .prev {
  left: 0;
}

.www51buycom .next {
  right: 0;
  background-position: right
}

#m-indexSideBar {
  width: 110px;
  position: absolute;
  left: 50%;
  margin-left: -680px;
  top: 630px;
  border: 1px solid #E2DED6;
  border-radius: 4px;
  background-color: #fff;
}

#m-indexSideBar-title {
  background: url('../images/热销榜.webp');
  height: 38px;
  line-height: 38px;
  text-align: center;
  font-size: 16px;
  color: #BB3343;
  font-weight: bold;
}

#m-indexSideBar ul li {
  height: 36px;
  overflow: hidden;
  position: relative;
}

#m-indexSideBar ul li img {
  width: 30px;
  height: 30px;
  float: left;
  margin: 3px 6px;
}

#m-indexSideBar ul li p:first-of-type {
  margin-top: 2px;
}

#m-indexSideBar ul li::after {
  content: '';
  display: block;
  width: 88px;
  border-bottom: 1px solid #E2DED6;
  position: absolute;
  left: 11px;
  z-index: 1;
}

#m-indexSideBar ul li.last::after {
  border-bottom: none;
}

#cp-new {
  height: 510px;
  margin-top: 30px;
}

.cp-new-title {
  height: 48px;
  margin-bottom: 20px;
}

.cp-new-title h3 {
  float: left;
  font-size: 30px;
}

.cp-new-title h3 span {
  font-weight: 500;
  font-size: 14px;
  margin-left: 20px;
  color: #000;
}

.f-right {
  float: right;
  font-size: 14px;
  padding-top: 15px;
}

.cp-new-newlist-item {
  width: 265px;
  margin-right: 10px;
  height: 364px;
  background-color: #fff;
  float: left;
  text-align: center;
}

.cp-new-newlist-item:hover {
  box-shadow: 1px 1px 8px rgba(0, 0, 0, .2);
  background-color: #f4f0ea;
}

.cp-new-newlist-item:last-child {
  margin-right: 0px;
}

.cp-new-newlist-item-img {
  width: 265px;
  height: 265px;
}

.cp-new-newlist-item-img.i1 {
  background-image: url('../images/新品首发1-0.webp');
}

.cp-new-newlist-item-img.i1:hover {
  background-image: url('../images/新品首发1-1.webp');
}

.cp-new-newlist-item-img.i2 {
  background-image: url('../images/新品首发2-0.webp');
}

.cp-new-newlist-item-img.i2:hover {
  background-image: url('../images/新品首发2-1.webp');
}

.cp-new-newlist-item-img.i3 {
  background-image: url('../images/新品首发3-0.webp');
}

.cp-new-newlist-item-img.i3:hover {
  background-image: url('../images/新品首发3-1.webp');
}

.cp-new-newlist-item-img.i4 {
  background-image: url('../images/新品首发4-0.webp');
}

.cp-new-newlist-item-img.i4:hover {
  background-image: url('../images/新品首发4-1.webp');
}

.tags span {
  background-color: #e36844;
  color: #fff;
  display: inline-block;
  width: 34px;
  height: 20px;
  line-height: 20px;
  margin: 8px 0;
}

.cp-new-newlist-item-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}

.cp-new-newlist-item-price {
  font-size: 13px;
  color: #d4282d;
}

.cp-new-newlist-item-price span {
  font-size: 12px;
  color: #ccc;
  text-decoration: line-through;
}

/*m-indexPopular*/

#m-indexPopular {
  padding: 60px 0;
  height: 618px;
  background-color: #f4f0ea;
}

#m-indexPopular a {
  color: #333;
  font-size: 14px;
  position: relative;
  top: -8px;
  margin: 0 20px;
}

#m-indexPopular a:hover {
  color: #b4a078;
  border-bottom: 2px solid #b4a078;
  padding-bottom: 4px;
}

#m-indexPopular a.active {
  color: #b4a078;
  border-bottom: 2px solid #b4a078;
  padding-bottom: 4px;
}

#m-product-left {
  width: 390px;
  height: 570px;
  float: left;
  background-color: #fff;
  text-align: center;
}

#m-product-right {
  width: 700px;
  height: 570px;
  float: right;
  text-align: center;
}

.m-product-right-item {
  width: 223px;
  height: 280px;
  background-color: #fff;
  float: left;
  margin-left: 10px;
  margin-bottom: 10px;
}

.m-product-left-img {
  width: 390px;
  height: 390px;
  background: url('../images/rq.png') no-repeat;
  background-position: center;
  background-size: 90%;
  /*在设置transition需要在原来盒子中也需要有这个属性*/
  border-bottom: 1px solid #f4f0ea;
}

.m-product-left-img:hover {
  -webkit-transition: background-size 2s;
  transition: background-size 2s;
  background-size: 105%;
}

.m-product-left-title {
  color: #333;
  font-size: 18px;
  font-weight: bold;
  line-height: 26px;
  margin-top: 50px;
}

.m-product-left-price {
  font-size: 18px;
  color: #d4282d;
  margin-top: 15px;
}

.m-product-right-item-img {
  width: 223px;
  height: 180px;
  position: relative;
}

.m-product-right-item-img.i5 {
  background: url('../images/e3fdeaf58254e6016666f560347dbe56.png') no-repeat;
  background-position: center;
  background-size: 80%;
}

.m-product-right-item-img-1 {
  position: absolute;
  top: 5px;
  left: 5px;
}

.m-product-right-item-img-1 img {
  width: 63px;
  height: 60px;
}

.m-product-right-item-img-2 {
  width: 70px;
  height: 36px;
  background: url('../images/d71e2460d062eaa21d5bdf97eba9da89.png') no-repeat;
  background-size: 70px 36px;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 6;
}

.m-product-right-item-img-3 {
  height: 30px;
  width: 163px;
  padding-left: 60px;
  color: #fff;
  background-color: red;
  position: absolute;
  bottom: 0;
  line-height: 30px;
  z-index: 5;
}

/*m-indexCate*/

#m-indexCate {
  margin-top: 55px;
}

#m-indexCate ul {
  display: inline-block;
  margin-left: 230px;
  position: relative;
  top: -2px;
}

#m-indexCate ul li {
  display: inline-block;
  font-size: 16px;
}

#m-indexCate ul li a {
  margin-right: 12px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.banner {
  background: url('../images/jjhw.webp.jpg');
  height: 310px;
}

.m-indexCate-menu {
  text-align: center;
  margin-top: 20px;
}

.m-indexCate-menu .m-product-right-item {
  width: 265px;
  height: 361px;
  margin-left: 0;
  margin-right: 10px;
}

.m-indexCate-menu .m-product-right-item.l {
  margin-right: 0px;
}

.m-indexCate-menu .m-product-right-item .m-product-right-item-img {
  width: 265px;
  height: 265px;
}

.m-indexCate-menu .m-product-right-item .m-product-right-item-img.i5 {
  background: url('../images/新品首发2-1.webp') no-repeat;
  background-size: 100%;
}

.m-indexCate-menu .m-product-right-item .m-product-right-item-img-3 {
  width: 265px;
  padding-left: 0;
}

/*yx-cp-m-ft1*/

#yx-cp-m-ft1 {
  height: 215px;
  padding: 60px 0 24px 0;
  border-top: 1px solid #e8e8e8;
}

.yx-cp-m-ft1-item {
  width: 33%;
  float: left;
  height: 215px;
  border-right: 1px solid #e8e8e8;
  text-align: center;
}

.yx-cp-m-ft1-item h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 25px;
}

.yx-cp-m-ft1-item i {
  display: block;
  color: #333;
  font-size: 28px;
}

.yx-cp-m-ft1-item div {
  margin-top: 10px;
}

.yx-cp-m-ft1-item a:last-child {
  margin-left: 29px;
}

.yx-cp-m-ft1-item:first-child a {
  display: inline-block;
  color: #000;
  font-size: 14px;
  width: 78px;
  height: 73px;
  padding-top: 25px;
  border: 1px solid #ccc;
}

.yx-cp-m-ft1-item .yx-cp-m-followUs {
  margin-top: 25px;
  padding: 0 37px;
  height: 32px;
}

.yx-cp-m-ft1-item .yx-cp-m-followUs .yx-cp-title {
  float: left;
  padding: 0;
  margin-right: 15px;
  line-height: 32px;
  font-size: 14px;
  color: #333;
}

.yx-cp-m-ft1-item .yx-cp-m-followUs img {
  float: left;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0);
}

.yx-cp-m-ft1-item p {
  padding: 0 30px;
}

.yx-cp-m-ft1-item:last-child {
  border-right: none;
}

.yx-cp-m-ft1-item .yx-cp-m-ftAppDownload img {
  width: 104px;
  height: 104px;
}

.yx-cp-m-ft1-item .yx-cp-m-ftAppDownload a {
  display: block;
  margin-left: 0;
  margin-top: 5px;
  color: #b4a078;
}

#yx-cp-m-ft2 {
  height: 300px;
  background-color: #414141;
  padding-top: 37px;
}

.yx-cp-m-ft2-1 {
  padding-bottom: 30px;
  border-bottom: 1px solid #4f4f4f;
  margin-bottom: 27px;
}

#yx-cp-m-ft2 .yx-cp-m-ft2-1-item {
  width: 25%;
  height: 51px;
  float: left;
  font-size: 18px;
  line-height: 51px;
  color: #fff;
}

#yx-cp-m-ft2 .yx-cp-m-ft2-1-item p {
  float: left;
}

#yx-cp-m-ft2 .yx-cp-m-ft2-1-item .yx-cp-icon-yxfoot {
  float: left;
  width: 50px;
  height: 50px;
  background-image: url('../images/sprite.webp');
  margin-right: 17px;
}

#yx-cp-m-ft2 .yx-cp-m-ft2-1-item:nth-child(1) .yx-cp-icon-yxfoot {
  background-position: 0 368px;
}

#yx-cp-m-ft2 .yx-cp-m-ft2-1-item:nth-child(2) .yx-cp-icon-yxfoot {
  background-position: 0 636px;
}

#yx-cp-m-ft2 .yx-cp-m-ft2-1-item:nth-child(4) .yx-cp-icon-yxfoot {
  background-position: 0 810px;
}

.yx-cp-m-ft2-2 {
  width: 1090px;
  height: 145px;
  text-align: center;
}

.yx-cp-m-ft2-2 .yx-cp-copyright {
  color: #999;
  height: 16px;
  white-space: nowrap;
  margin: 10px 0;
}

.yx-cp-m-ft2-2 a, .yx-cp-m-ft2-2 p {
  color: #999;
}

.yx-cp-m-ft2-2 .yx-cp-police {
  color: #999;
  height: 16px;
  white-space: nowrap;
  margin: 10px 0;
}

.yx-cp-m-ft2-2 a:hover {
  color: #fff;
}

.yx-cp-m-ft2-2 .yx-cp-nav a, .yx-cp-m-ft2-2 .yx-cp-copyright a {
  color: #999;
}

.yx-cp-m-ft2-2 .yx-cp-police a, .yx-cp-m-ft2-2 .yx-cp-police p {
  margin-right: 5px;
  display: inline;
}

.yx-cp-m-ft2-2 .yx-cp-copyright a, .yx-cp-m-ft2-2 .yx-cp-copyright p {
  margin-right: 5px;
  float: left;
}

.yx-cp-m-ft2-2 .yx-cp-nav b {
  margin: 0 13px;
  color: #999;
}

#yx-cp-m-funcTab {
  height: 50px;
  background-color: #fff;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
  width: 100%;
  line-height: 50px;
  font-size: 14px;
  font-weight: bold;
  display: none;
}

#yx-cp-m-funcTab img {
  height: 40px;
  float: left;
  margin-top: 7px;
}

#yx-cp-m-funcTab i {
  color: #CC9756;
  font-size: 22px;
  padding: 0 15px;
}

#yx-cp-m-funcTab ul {
  float: left;
}

#yx-cp-m-funcTab ul li {
  display: inline-block;
  padding: 0 16px;
}

#yx-cp-m-funcTab yx-cp-user ul li:first-child {
  padding-left: 0;
}

#yx-cp-m-funcTab ul li:last-child {
  padding-right: 0;
}

#yx-cp-m-funcTab ul li.active a {
  color: #cc9756;
  border-bottom: 3px solid #cc9756;
}

#yx-cp-m-funcTab ul li a {
  color: black;
  padding: 5px 0;
}

#yx-cp-m-funcTab ul li a:hover {
  color: #cc9756;
  border-bottom: 3px solid #cc9756;
}